package com.wcy.service;

import com.wcy.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @since 2021-04-30
 */
public interface IRoleService extends IService<Role> {

    List<Role> getRoleList(String name);

    int addRole(Role role);

    int updateRole(Role role);

    Role getRoleById(int id);

    int delRole(int id);
}
